home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Gamer (Italian) 46
/
PC Gamer IT CD 46 2-2.iso
/
Nba
/
NBA2000.exe
/
CABFILE
/
IDR_CABFILE
/
Data
/
UIScript
/
MAINQUIT.UI
< prev
next >
Wrap
Text File
|
1999-06-14
|
4KB
|
209 lines
"2D\UI\Startup"
//********************
// Data Container
//********************
DataContainer {
Int "QuitFlag" {InitialValue 0;};
Int "MinimizeFlag" {InitialValue 0;};
};
//********************************
// Images
//********************************
Image "QuitOptionsButtonImageEnabled" {
FileName "optionse";
// blend half;
};
Image "QuitOptionsButtonImagePushed" {
FileName "Optionsp";
// blend half;
};
Image "QuitOptionsButtonImageFocused" {
FileName "Optionsf";
// blend half;
};
Image "QuitButtonImageEnabled" {
FileName "equit";
// blend half;
};
Image "QuitButtonImagePushed" {
FileName "pquit";
// blend half;
};
Image "QuitButtonImageFocused" {
FileName "fquit";
// blend half;
};
Image "QuestionButtonImageEnabled" {
FileName "equest";
// blend half;
};
Image "QuestionButtonImageDisabled" {
FileName "equest";
blend half;
};
Image "QuestionButtonImagePushed" {
FileName "pquest";
// blend half;
};
Image "QuestionButtonImageFocused" {
FileName "fquest";
// blend half;
};
Image "MinimizeButtonImageEnabled" {
FileName "emin";
// blend half;
};
Image "MinimizeButtonImagePushed" {
FileName "pmin";
// blend half;
};
Image "MinimizeButtonImageFocused" {
FileName "fmin";
// blend half;
};
//********************************
// Fonts
//********************************
Font "QuitOptionsButtonEnable" {
Filename "optbute";
Translate " options";
Kerning 0;
};
Font "QuitOptionsButtonFocus" {
Filename "optbutf";
Translate " options";
Kerning 0;
};
Font "QuitOptionsButtonPush" {
Filename "optbutp";
Translate " options";
Kerning 0;
};
//********************************
// Styles
//********************************
ButtonStyle "OptionsButtonsStyle" {
Enabled Image "QuitOptionsButtonImageEnabled";
Pushed Image "QuitOptionsButtonImagePushed";
Focused Image "QuitOptionsButtonImageFocused";
Enabled Font "QuitOptionsButtonEnable";
Focused Font "QuitOptionsButtonFocus";
Pushed Font "QuitOptionsButtonPush";
};
ButtonStyle "MinimizeStyle" {
Enabled Image "MinimizeButtonImageEnabled";
Pushed Image "MinimizeButtonImagePushed";
Focused Image "MinimizeButtonImageFocused";
};
ButtonStyle "QuestionStyle" {
Enabled Image "QuestionButtonImageEnabled";
Pushed Image "QuestionButtonImagePushed";
Focused Image "QuestionButtonImageFocused";
Disabled Image "QuestionButtonImageDisabled";
};
ButtonStyle "QuitStyle" {
Enabled Image "QuitButtonImageEnabled";
Pushed Image "QuitButtonImagePushed";
Focused Image "QuitButtonImageFocused";
};
//********************************
// Buttons
//********************************
Button "MinimizeButton" {
ButtonStyle "MinimizeStyle";
Position [72, 0];
Clicked Action {
SetData "MinimizeFlag" 1;
};
};
Button "QuestionButton" {
ButtonStyle "QuestionStyle";
Position [54, 0];
Disabled;
Clicked Action PopUpHelp LinkedToData "CurrContextHelpID";
};
Button "QuitButton" {
ButtonStyle "QuitStyle";
Position [90, 0];
DefaultQuit;
Clicked Action {
SetData "PopupTitle" "Quit";
};
Clicked Action {
SetData "PopupLine1" "Are you sure you want to exit NBA Inside Drive 2000?";
};
Clicked Action {
SetData "PopupLine2" "";
};
Clicked Action {
SetData "PopupLine3" "";
};
Clicked Action {
Popup Group Global "GeneralMessageBox";
};
Clicked Action {
AddOKAction Action {
SetData "QuitFlag" 1;
};
};
};
Button "NewOptionsButton" {
ButtonStyle "OptionsButtonsStyle";
Position [2, 0];
String "options" {
Justify CenterCenter;
Position [25, 7];
};
Clicked Action {
Popup Group "OptionsParent";
};
};
//********************************
// Groups
//********************************
Group "Quit" {
Root;
Position [680, 5];
Children {
// Button "NewOptionsButton";
Button "QuestionButton";
Button "MinimizeButton";
Button "QuitButton";
};
};
Group "OptionsParent" {
Children {
Include "UIScript\Options";
};
};